<template>
  <ee-select>
    
  </ee-select>
</template>

<script type="text/javascript">
import { injectStore } from 'ee-vuex'
import checkboxGroup from '../__mixin/select/checkbox-group'
import eeSelect from './ee-select.vue'
import { optionObject } from './index'

/**
 * 1. 先继承 ee-select 组件
 * 2. 重写抽象内容
 * 3. 使用 ee-selection 模板编写根组件
 */
const eeSelection = injectStore({
  mixins: [eeSelect, checkboxGroup],
  props: {
    /** 隐藏已经选中的选项 */
    selectionHidden: Boolean,
  },
  computed: {
  },
  methods: {
    clear() {
      this.checkAll(false);
      this.fold();
    }
  }
})

export default {
  name: "ee-selection",
  components: [eeSelection],
  data() {
    return {
    }
  },
  props: {
  },
  computed: {
  },
  methods: {
  },
  mounted() {
  },
}
</script>

<style lang="scss">
</style>